-
Notifications
You must be signed in to change notification settings - Fork 184
Fixing regex bypass issue #4336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zane-neo <[email protected]>
263357d
to
922075c
Compare
Signed-off-by: zane-neo <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4336 +/- ##
============================================
- Coverage 80.14% 80.12% -0.03%
- Complexity 10172 10174 +2
============================================
Files 854 855 +1
Lines 44219 44239 +20
Branches 5113 5113
============================================
+ Hits 35440 35447 +7
- Misses 6630 6641 +11
- Partials 2149 2151 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Duration connectionTimeout, | ||
Duration readTimeout, | ||
int maxConnections, | ||
AtomicBoolean connectorPrivateIpEnabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use bool here? what's the reason to use atomicBoolean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree that boolean is better, I tried to change all the occurrence of this connectorPrivateIpEnabled
to boolean all the way back to where it's defined, but there's more UTs need to be changed. But changing to boolean is correct direction, let me try again this change.
import software.amazon.awssdk.http.async.SdkAsyncHttpClient; | ||
|
||
@Log4j2 | ||
public class ValidatingHttpClient implements SdkAsyncHttpClient { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest use a better class name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the comment from @ylwu-amzn, looks good to me!
let's backport to 3.3 |
Signed-off-by: zane-neo <[email protected]>
285123f
to
cff9dd5
Compare
Signed-off-by: zane-neo <[email protected]>
7e45e1a
to
56fe122
Compare
Description
Fix connector regex bypass issue
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.